package com.example.myys.data.dao

import androidx.room.Dao
import androidx.room.Query
import com.example.myys.data.entity.ReadRecordBean

@Dao
interface ReadRecordDao:
    BaseBeanDao<ReadRecordBean> {
    @Query("SELECT * FROM my_read_records WHERE dataBeanId=:dataBeanId AND type=:type")
    suspend fun getListDataBeanId(dataBeanId: Int, type: String): List<ReadRecordBean>
}